package adv2;

public class CalcTest {

	public static void main(String[] args) {
		// 可变参数
		Calc c = new Calc();
		int r1 = c.jia(1, 2, 4);
		System.out.println(r1);
		r1 = c.jia(1, 1, 3, 65, 76, 7, 8, 8, 8, 8, 88, 56, 7, 99, 457, 33);
		System.out.println(r1);
		System.out.println(">>>>>>>>>>>>>>>>>>>");
		r1 = c.jia(14);
		System.out.println(r1);
		r1 = c.jia();// 不是null,是new int[0]
		System.out.println(r1);
	}

}
